package com.aiyige.page.pay;

public class PayMethonObject {
    public int payMethod;

    private PayMethonObject(Builder builder) {
        setPayMethod(builder.payMethod);
    }

    public static Builder newBuilder() {
        return new Builder();
    }

    public int getPayMethod() {
        return payMethod;
    }

    public void setPayMethod(int payMethod) {
        this.payMethod = payMethod;
    }

    public static final class Builder {
        private int payMethod;

        private Builder() {
        }

        public Builder payMethod(int val) {
            payMethod = val;
            return this;
        }

        public PayMethonObject build() {
            return new PayMethonObject(this);
        }
    }
}
